#include<string.h>
int main(){
    int x=124,y=357,z=698;
    char s[10];
    sprintf(s,"%d%d%d",x,y,z);
    puts(s);
    qsort(s,9,1,strcmp);
    if(strcmp(s,"123456789")==0&&2*x==y&&3*x==z)
    {


    }

    return 0;
}
